#include "cancelmodel.h"

CancelModel::CancelModel(QObject *parent) :
	QStandardItemModel(0, 5, parent){
	setHeaderData(0, Qt::Horizontal, trUtf8("Текст"));
	setHeaderData(1, Qt::Horizontal, trUtf8("Слова"));
	setHeaderData(2, Qt::Horizontal, trUtf8("№ в строке"));
	setHeaderData(3, Qt::Horizontal, trUtf8("Длина."));
	setHeaderData(4, Qt::Horizontal, trUtf8("Следующий."));
}

Qt::ItemFlags CancelModel::flags(const QModelIndex &i) const{
	return QAbstractItemModel::flags(i);
}

